build: Do not call gtk_init()
authorEmmanuele Bassi <ebassi@gnome.org>
Sat, 29 Aug 2015 13:17:37 +0000 (14:17 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Sat, 29 Aug 2015 13:17:37 +0000 (14:17 +0100)
commitb8f103bfaacd1c20e9786633c7b670ff317bce5e
treef0f823bc3c1c6b456f4bcd57690faedb2d50c0e7
parent15cc85db295b3d54f85c541b3c82d7b703c851c8
build: Do not call gtk_init()

It needs to open a display connection, which is obviously going to fail
miserably on any headless build machine.

Instead, we need to find where we started requiring to initialize GTK
when calling a get_type() function, and stop doing that.

This commit and commit 15cc85db295b3d54f85c541b3c82d7b703c851c8 fully
revert commit 6838861d26bfec9af53438022bd1f5b60bab3bf4.
gtk/Makefile.am